package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.*;

@Data
@ApiModel(description = "修改管理员状态DTO")
public class AdminUserStatusDTO {

    @NotNull(message = "管理员ID不能为空")
    @ApiModelProperty(value = "管理员ID", required = true)
    private Integer id;

    @NotNull(message = "状态不能为空")
    @Min(value = 0, message = "状态值不正确")
    @Max(value = 1, message = "状态值不正确")
    @ApiModelProperty(value = "状态：0-启用，1-禁用", required = true)
    private Integer status;
} 